<?php

class M_insert Extends CI_Model
{


	private $admin_table = 'administrative_employees';
	private $teach_table = 'teaching_personnel';

	public function insert_admin($data)
	{
		$this->load->database();
		$this->db->insert($this->admin_table,$data);
		return $this->db->affected_rows() > 0 ? TRUE : FALSE;	
	}

	public function new_teaching_personnel($data)
	{
		$this->load->database();
		$this->db->insert($this->teach_table,$data);
		return $this->db->affected_rows() > 0 ? TRUE : FALSE;	
	}





}